package com.ldk.base.framework.util;

/**
 * Token工具类
 * @author xiangwl
 *
 */
public class TokenUtil {

	/**
	 * token 加密
	 * @param phoneNo
	 * @param clientInfo
	 * @return
	 */
	public static String encrypt(String phoneNo, String clientInfo){
		
		String tokenString = String.format("%s,%s,%s", phoneNo, clientInfo, SystemUtil.generateRandomNo(""));
		return EncryptUtil.md5(tokenString);
	}
}
